/*
 * Copyright 2024 The Google Research Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


.anthea-bold {
  font-weight: bold;
}
.anthea-context-eval-small-button,
.anthea-docnav-eval-button,
.anthea-error-button,
.anthea-stretchy-button {
  border: 0;
  box-sizing: border-box;
  font-weight: bold;
  margin: 0;
  outline: 1px solid gray;
  padding: 4px;
}
.anthea-context-eval-small-button,
.anthea-docnav-eval-button,
.anthea-stretchy-button {
  text-align: center;
}
.anthea-context-eval-small-button:disabled,
.anthea-docnav-eval-button:disabled,
.anthea-error-button:disabled,
.anthea-stretchy-button:disabled {
  color:gray;
  cursor: not-allowed;
  filter: brightness(80%);
}
.anthea-context-eval-small-button:enabled:hover,
.anthea-docnav-eval-button:enabled:hover,
.anthea-error-button:enabled:hover,
.anthea-stretchy-button:enabled:hover {
  cursor: pointer;
  filter: brightness(105%);
  outline: 1px solid blue;
}
.anthea-context-image-cell {
  position: relative;
}
.anthea-context-image {
  cursor: zoom-in;
  margin: 0;
  padding: 0;
}
.anthea-context-image-port {
  max-height: 700px;
  overflow-y: auto;
}
.anthea-context-image-selection {
  cursor: zoom-in;
  outline: 2px solid blue;
  position: absolute;
}
.anthea-context-image-wrapper {
  position: relative;
}
.anthea-context-image-zoom {
  cursor: zoom-in;
  outline: 2px solid gray;
  overflow: hidden;
  position: absolute;
  z-index: 1;
}
.anthea-context-image-zoom-bg {
  position: absolute;
  z-index: -100;
}
.anthea-context-row td {
  padding: 0 0 20px 10px;
}
#anthea-control-panel {
  line-height: 2;
  position: relative;
  margin-top: 12px;
}
.anthea-deleted-error {
  text-decoration: line-through;
}
.anthea-docnav-eval-button {
  margin-right: 8px;
  padding: 12px;
}
.anthea-document-eval-cell {
  box-sizing: border-box;
  padding: 0;
  vertical-align: top;
}
.anthea-document-eval-div {
  box-sizing: border-box;
  font-family: monospace;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  vertical-align: top;
  width: 300px;
}
.anthea-document-raw-texts {
  display: none;
}
.anthea-document-text-cell {
  font-family: monospace;
  font-size: 150%;
  padding: 14px;
  vertical-align: top;
}
.anthea-document-text-table {
  border: 1px solid black;
  border-collapse: collapse;
  max-width: 300ch;
  table-layout: fixed;
}
.anthea-document-text-table p {
  margin-bottom: 20px;
  max-width: 100ch;
  overflow-wrap: anywhere;
}
.anthea-document-text-table > tr,
.anthea-document-text-table > tr > td {
  border: 1px solid black;
  box-sizing: border-box;
}
.anthea-document-text-table > tr > td:nth-of-type(1),
.anthea-document-text-table > tr > td:nth-of-type(2) {
  max-width: 100ch;
  width: 40%;
}
.anthea-document-text-table > tr:nth-of-type(2),
.anthea-document-text-table > tr:nth-of-type(2) > td {
  border-bottom: 0 solid;
}
.anthea-document-text-table > tr > td:nth-of-type(3) {
  max-width: 320px;
  width: 20%;
}
.anthea-document-text-table > tr:nth-of-type(3),
.anthea-document-text-table > tr:nth-of-type(3) > td {
  border-top: 0 solid;
}
.anthea-being-edited {
  text-decoration: red wavy underline;
}
.anthea-error-button {
  background-color: lightblue;
  text-align: left;
}
.anthea-error-button,
.anthea-stretchy-button {
  border: 0;
  display: table-cell;
  height: 100%;
  min-height: 4ex;
  width: 100%;
}
.anthea-error-label {
  font-weight: bold;
}
.anthea-errors-table {
  border: 1px solid black;
  border-collapse: collapse;
  border-spacing: 0;
  box-sizing: border-box;
  text-align: left;
  width: 100%;
}
.anthea-errors-table > tr > td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 8px 4px;
  vertical-align: top;
}
.anthea-eval-cancel {
  background-color:rgba(200, 200, 200, 0.5);
}
.anthea-eval-guidance {
  color: blue;
  font-style: italic;
  font-weight: bold;
  min-height: 5ex;
  padding: 8px 4px;
  text-align: center;
}
.anthea-eval-panel-critical {
  min-height: 5ex;
  padding: 6px 4px;
  text-align: center;
}
.anthea-eval-panel {
  background: white;
  border-top: 1px solid black;
  box-sizing: border-box;
  display: inline-block;
  left: 0;
  max-height: 640px;
  position: absolute;
  text-align: left;
  width: 100%;
  z-index: 2;
}
.anthea-eval-panel-cell,
.anthea-eval-panel-nav {
  box-sizing: border-box;
  height: 100%;
  padding: 0;
  text-align: center;
  vertical-align: top;
}
.anthea-eval-panel-mod {
  min-height: 6ex;
  width: 24px;
}
.anthea-eval-panel-nav {
  width: 25px;
}
.anthea-eval-panel-row:hover .anthea-modifier-menu {
  display: block;
}
.anthea-eval-panel-subtypes {
  background-clip: border-box;
  background-color: aliceblue;
}
.anthea-eval-panel-table {
  border: 1px solid black;
  border-collapse: collapse;
  border-spacing: 0;
  box-sizing: border-box;
  width: 100%;
}
.anthea-eval-panel-table > tr {
  border: 1px solid black;
  border-collapse: collapse;
}
.anthea-eval-panel-tall {
  min-height: 10ex;
}
.anthea-eval-panel-text {
  height: 100%;
  padding: 4px 6px;
  vertical-align: top;
  width: 100%;
}
.anthea-eval-panel-unflattened {
  padding: 0 0 0 32px;
}
.anthea-expander-row {
  cursor: pointer;
}
.anthea-expander-row-disabled {
  cursor: not-allowed;
}
.anthea-expander-row:hover {
  background-color: lightgray;
}
.anthea-expander-text {
  font-style: italic;
  padding: 10px;
  text-align: center;
}
.anthea-feedback {
  bottom: 0;
  box-sizing: border-box;
  padding: 4px;
  position: absolute;
  width: 100%;
  z-index: 0;
}
.anthea-feedback-notes {
  outline: none;
}
.anthea-feedback-panel {
  background-image:
    repeating-linear-gradient(to bottom, white, white 13px, lightgray 14px);
  height: 80px;
  outline: none;
  text-align: left;
  white-space: break-spaces;
  width: 100%;
}
.anthea-feedback-summary {
  font-size: 16px;
}
.anthea-feedback-thumbs {
  display: none;
}
.anthea-feedback-thumbs+label {
  cursor: pointer;
  opacity: 35%;
}
.anthea-feedback-thumbs:hover+label {
  opacity: 70%;
}
.anthea-feedback-thumbs:checked+label {
  opacity: 100%;
}
@keyframes anthea-fading-text-anim {
  from {
    color: black;
    text-shadow: -0.4px -0.4px 0 gray, 0.4px 0.4px 0 gray;
  }
  to {
    color: gray;
    text-shadow: 0 0 0 gray;
  }
}
.anthea-fading-text {
  animation-duration: 30s;
  animation-name: anthea-fading-text-anim;
}
.anthea-guidance-panel {
  border: 1px solid black;
}
.anthea-hotw-def {
  cursor: help;
  font-weight: bold;
}
.anthea-hotw-found {
  color: green;
}
.anthea-hotw-missed {
  color: red;
}
.anthea-hotw-revealed {
  background: lightblue;
}
.anthea-modifier-menu-button {
  background: whitesmoke;
  min-height: 4ex;
  min-width: 140px;
}
.anthea-modifier-menu-parent {
  position: relative;
}
.anthea-modifier-menu {
  background: white;
  display: none;
  position: absolute;
  right: 0;
  top: 6ex;
  z-index: 3;
}
.anthea-mqm-instructions li {
  line-height: 1.2;
  margin: 8px auto;
}
#anthea-mqm-list-of-severities {
  line-height: 2;
}
.anthea-paralet-nav {
  cursor: pointer;
}
.anthea-space-active,
.anthea-word-active {
  outline: 1px solid lightgray;
}
.anthea-status-text {
  float: right;
  font-style: italic;
  padding: 4px;
  vertical-align: bottom;
}
.anthea-subheading {
  font-size: 80%;
  font-style: italic;
}
.anthea-text-heading {
  background: whitesmoke;
  font-family: monospace;
  font-size: 130%;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  vertical-align: top;
}
.anthea-word-active,
.anthea-word-active-begin {
  cursor: pointer;
}
.anthea-word-active:hover {
  outline: 1px solid black;
}
.anthea-word-active-begin:hover {
  outline: 1px solid lightgray;
}
